﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QianJin.Models;
using QianJin.Views.Shared;

namespace QianJin.Views
{
    public class SuccessOrderedData : BaseViewData
    {
        public Exception Exp { get; set; }
    }

    public class SuccessOrdered : BaseView<SuccessOrderedData>
    {
        public string GetRemoveFromShoppingCartUrl(string prodId)
        {
            return Url.Action("RemoveShoppingItem", "Shopping", new { productId = prodId, returnUrl = this.Context.Request.Url.OriginalString });
        }
        public void Page_Load(object sender, System.EventArgs e)
        {
            Shared.Shopping m = (Shared.Shopping)this.Master;
            m.ShoppingStage = ShoppingStageEnum.OrderSuccess;
        }
    }
}
